Optimal. Leaf size=42 \[ \frac{2 (a+b x)^{3/2} (A b-a B)}{3 b^2}+\frac{2 B (a+b x)^{5/2}}{5 b^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0443624, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{2 (a+b x)^{3/2} (A b-a B)}{3 b^2}+\frac{2 B (a+b x)^{5/2}}{5 b^2} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[a + b*x]*(A + B*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 7.5907, size = 37, normalized size = 0.88 \[ \frac{2 B \left (a + b x\right )^{\frac{5}{2}}}{5 b^{2}} + \frac{2 \left (a + b x\right )^{\frac{3}{2}} \left (A b - B a\right )}{3 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0302595, size = 30, normalized size = 0.71 \[ \frac{2 (a+b x)^{3/2} (-2 a B+5 A b+3 b B x)}{15 b^2} \]
Antiderivative was successfully verified.
[In] Integrate[Sqrt[a + b*x]*(A + B*x),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 27, normalized size = 0.6 \[{\frac{6\,bBx+10\,Ab-4\,Ba}{15\,{b}^{2}} \left ( bx+a \right ) ^{{\frac{3}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(b*x+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.33108, size = 45, normalized size = 1.07 \[ \frac{2 \,{\left (3 \,{\left (b x + a\right )}^{\frac{5}{2}} B - 5 \,{\left (B a - A b\right )}{\left (b x + a\right )}^{\frac{3}{2}}\right )}}{15 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(b*x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.206835, size = 62, normalized size = 1.48 \[ \frac{2 \,{\left (3 \, B b^{2} x^{2} - 2 \, B a^{2} + 5 \, A a b +{\left (B a b + 5 \, A b^{2}\right )} x\right )} \sqrt{b x + a}}{15 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(b*x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 2.51613, size = 36, normalized size = 0.86 \[ \frac{2 \left (\frac{B \left (a + b x\right )^{\frac{5}{2}}}{5 b} + \frac{\left (a + b x\right )^{\frac{3}{2}} \left (A b - B a\right )}{3 b}\right )}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.226182, size = 55, normalized size = 1.31 \[ \frac{2 \,{\left (5 \,{\left (b x + a\right )}^{\frac{3}{2}} A + \frac{{\left (3 \,{\left (b x + a\right )}^{\frac{5}{2}} - 5 \,{\left (b x + a\right )}^{\frac{3}{2}} a\right )} B}{b}\right )}}{15 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(b*x + a),x, algorithm="giac")
[Out]